package com.xbongbong.pro.outstockproduct.pojo.dto;

import com.xbongbong.paas.field.FieldAttrEntity;
import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import com.xbongbong.saas.domain.entity.ext.OutstockProductEntityExt;
import com.xbongbong.sys.domain.entity.UserEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.Map;

/**
 * 格式化出库单产品的DTO
 * @author lcx
 * @date 2019/3/1 22:12
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class FormatOutstockProductDTO extends BaseDTO {
    private static final long serialVersionUID = 9186338840140352188L;

    /**
     * 用户实体
     */
    private UserEntity userEntity;

    /**
     * 出库单产品实体扩展类
     */
    private OutstockProductEntityExt outstockProductExt;

    /**
     * 产品和库存产品（系统字段）字段解释map
     */
    private Map<String, FieldAttrEntity> nowProductExplainMap;

    /**
     * 库存产品（自定义）字段解释map
     */
    private Map<String, FieldAttrEntity> nowStockProductExplainMap;

    private Integer businessType;

}
